package so.sao.shop.supplier.pojo.output.authorized;

import java.util.List;
import java.util.Map;

/**
 * <p>Version: supplier V1.1.0 </p>
 * <p>Title: RoleOut</p>
 * <p>Description: </p>
 *
 * @author: tengfei.zhang
 * @Date: Created in 2017/11/7 9:24
 */
public class RoleOut {
    /**
     * 角色id
     */
    private Long id;
    /**
     * 角色名称
     */
    private String name;
    /**
     * 权限树
     */
    private List<Long> permissionIds;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public List<Long> getPermissionIds() {
        return permissionIds;
    }

    public void setPermissionIds(List<Long> permissionIds) {
        this.permissionIds = permissionIds;
    }

    public RoleOut(Long id, String name, List<Long> permissionIds) {
        this.id = id;
        this.name = name;
        this.permissionIds = permissionIds;
    }

    public RoleOut() {
    }
}
